//
//  MoviePlayer.h
//  MoviePlayer
//
//  Created by lanou on 15/11/6.
//  Copyright (c) 2015年 lanou. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Progress.h"
#import <MediaPlayer/MediaPlayer.h>
@interface MoviePlayer : UIView

@property(nonatomic,strong)UIButton *back;//返回按钮；
@property(nonatomic,strong)UILabel *begin;//开始时间label
@property(nonatomic,strong)UILabel *end;//结束的label
@property(nonatomic,strong)Progress *progress;//进度条控件；
@property(nonatomic,strong)UISlider *volume;//声音控件；
@property(nonatomic,strong)UIView *view;//下方进度条和时长的视图；
@property(nonatomic,strong)UISlider *nextProgress;
@property(nonatomic,strong)UILabel *topLabel;
@property(nonatomic,strong)MPMoviePlayerController *moviePlayer;//视频播放控件；
@property(nonatomic,strong)NSTimer *timer;
- (instancetype)initWithFrame:(CGRect)frame URL:(NSURL *)url;


@end
